package com.ghsc.ghxc.jsb.ui.live.bean

import android.view.View
import com.alivc.auicommon.core.base.MessageModel

/**
 * 项目：GuoHuaJsb
 * 包名：com.ghsc.ghxc.jsb.ui.live.bean
 * 类名：LiveDataBean
 * 创建时间：2024/5/10 10:20
 * 创建人 @author： xiaolin
 * 描述 ：Todo...
 */

//先是类型 因为里面的list 类型不同。有的是string 有的是对象
data class CustObserverDataBean(
    val type: Int
)

//这个是list string 的
data class CustObserverNotDataBean(
    val `data`: ImNotDataBean,
    val type: Int
)

data class ImNotDataBean(
    //订单需要的msg
    val msg: String,
    //黑名单需要的数组
    val list: List<String>,
    val num_multiple:Int,

    )



data class VideoResultDataBean(
    val list: MutableList<VideoDataBean>,
//    val `data`: VideoResultData,
)
data class VideoDataBean(
    var  headimg: String?="",
    var   nickname: String?="",
    var  vid: String?="",
    var  title: String?="",
    var  uid: String?="",
    var  image: String?="",
    var  video: String?="",
    var  likes :Int? =0,
    var  comments:Int?=0,
    var  collects:Int?=0,
    var  shares:Int?=0,

    val videoWidth: String? = null,//视频宽度
    val videoHeight: String? = null,//视频高度
    @Transient
    var currentPosition: Long? = 0,//当前视频播放进度
    @Transient
    var adView: View? = null,//广告视图
)

data class LiveExtendDataBean(
    val userNick:String,
    val userAvatar:String,
    val cover_url:String,
)


data class CustImNoticeBean(
    val userId: String,
    val groupId:String,
)


data class LiveMessageDataBean(
    val model : MessageModel,
    val anchorId: String,
)

data class LiveUserInfoBean(
    val headimg:String,
    val level: Int,
    val nickname: String,
    val uid: String,
    var price: Double,
    var isCheck: Boolean = false,

    )


//这个是list 对象 的
data class CustObserverLiveDataBean(
    val `data`: ImLiveDataBean,
    val type: Int
)

data class ImLiveDataBean(
    //直播 虚拟发送消息  msg
    val msg: String,
    //直播 虚拟发送消息
    val list: List<CustLiveSendDataBean>,
)
data class CustLiveSendDataBean(
    val nickname: String,
    val uid: String ,
    val msg:String,
    val interval :Int,

    )



data class GifResult(
    val `data`: GifResultDataBean,
    val list: List<GifDataBean>,

)

data class GifResultDataBean(
    val txid: String,
    val uid: String,
    val tuid: String,
    val jifen: Double,
    val ifsend :Int,
    val gid :Int,
)

data class GifDataBean (
    val downurl: String,
    val gid: Int,
    val images: String,
    val name: String,
    val price: String,
    var isCheck :Boolean =false
)




data class FollowResult(
    val `data`: FollowResultData,
)
data class FollowResultData(



    val cansay: Int,
    val cansaymemo: String,
    val ifdianshang: Int,
    val iffollow: Int,
    val jifen: String,
    val number_multiple:Int,
    val cart_product: CartProduct,

)
data class CartProduct(
    val id: Int,
    val images: String,
    val is_explain: Int,
    val pay_jifen: String,
    val pay_rmb: Int,
    val pay_type: Int,
    val pid: String,
    val status: Int,
    val title: String
)
data class LiveUserInfoResult(
    val `data`: Data,
    val list: List<LiveUserInfoBean>
)
class Data



data class LiveGiftTopResult(
    val list: List<GifListResultBean>
)
data class GifListResultBean(
    val totalprice: String,
    val headimg: String,
    val nickname: String,
)



data class UserTaResult(
    val `data`: UserTaDataBean,
)

data class UserTaDataBean(
    val nickname: String,
    val headimg: String,
    val fans: Int,
    val follows: Int,
)

data class LiveEndResult(
    val `data`: LiveEndDataBean,
)

data class LiveEndDataBean(
     val shichang :Int,
     val likes:Int,
     val totalsenduid:Int,
    val totalsendprice:Double,
    val totalsendcnt:Int,
)


data class ReceiveResult(

    val jifen: Double,
    val service_charge_rate: Double,
    val packet_max_count: Int,
    val is_uoload_cover: Boolean,
    val is_need_sms_code:Boolean,
    val is_need_pay_password:Boolean

)

data class LiveSendRedResult(
    val count_down: Int,
    val get_time: String,
    val packet_id: Int,
    val count_down_seconds:Int,
)

data class RedDetailsResult(
    val list: List<RedDataBean>,
    val packet: Packet,
    val self: Self
)

data class RedDataBean(
    val claimtime: String,
    val headimg: String,
    val ifzuijia: Int,
    val nickname: String,
    val price: String
)
data class Packet(
    val cover: String,
    val id: Int,
    val memo: String,
    val send_user_headimg: String,
    val send_user_nickname: String,
    val hint:String,
    val ptype:String,
)

data class Self(
    val ifzuijia: Int,
    val price: String
)